package com.sky.mapper.user;

import com.sky.pojo.Dish;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;

@Mapper
public interface UDishMapper {

    //@Select("select * from dish where category_id = #{categoryId}")
    List<Dish> findDishByCategory(Dish dish);


    @Select("select * from dish where id = #{id}")
    Dish getById(Long id);
}
